
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 Businesssetupconfig 分页列表
*/
export function getBusinesssetupconfigPagination(data: any) {
  return axios.get(`${context}/businesssetupconfig/pagination`, { params: data });
}


/**
 * 获取 Businesssetupconfig 所有数据
*/
export function getBusinesssetupconfigAllList(data: any) {
  return axios.get(`${context}/businesssetupconfig/all`, { params: data });
}


/**
 * 获取 Businesssetupconfig 详情
*/
export function getBusinesssetupconfigDetailById(id: any) {
  return axios.get(`${context}/businesssetupconfig/${id}`, { params:{id} });
}


/**
 * 新增 Businesssetupconfig
*/
export function addBusinesssetupconfig(data: any) {
  return axios.post(`${context}/businesssetupconfig`, data);
}

/**
 * 修改 Businesssetupconfig
*/
export function updateBusinesssetupconfig(data: any) {
  return axios.put(`${context}/businesssetupconfig`, data);
}

/**
 * 删除 Businesssetupconfig
*/
export function batchRemoveBusinesssetupconfig(data: any) {
  return axios.post(`${context}/businesssetupconfig/batchRemove`, data);
}

    